<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>自动化工具</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
    <script src="../js/jquery-3.4.1.min.js" charset="utf-8"></script>
    <script src="../layui/layui.js"></script>
    <script src="../js/common.js" charset="utf-8"></script>
    <script type="text/javascript" src="index.js"></script>
</head>
<script>
    $(function() {

        sessionStorage.setItem('hostName',window.location.host);
        // let hostName = null
        // $.ajax({
        //     url: '/server/getLoclIp',
        //     contentType: "application/json;charset=utf-8",
        //     type: "get",
        //     success: function (result) {
        //         sessionStorage.setItem('hostName',result.data);
        //         hostName = "http://"+sessionStorage.getItem('hostName')+"/page/index.html"
        //         let host = window.location.host
        //         if (hostName!=null && hostName.indexOf(host)==-1){
        //             window.location.href=hostName
        //         }
        //     }
        // })
    })
</script>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo layui-hide-xs layui-bg-black">自动化工具</div>
        <!-- 头部区域（可配合layui 已有的水平导航） -->
        <ul class="layui-nav layui-layout-left">
            <!-- 移动端显示 -->
            <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
                <i class="layui-icon layui-icon-spread-left"></i>
            </li>


<!--            <li class="layui-nav-item layui-hide-xs"><a href="">nav 3</a></li>-->
<!--            <li class="layui-nav-item">-->
<!--                <a href="javascript:;">配置</a>-->
<!--                <dl class="layui-nav-child">-->
<!--                    <dd><a id="itcode" href="javascript:;">itcode配置</a></dd>-->
<!--                </dl>-->
<!--            </li>-->
        </ul>
        <ul class="layui-nav  layui-layout-left">
            <li class="layui-nav-item">
                <i>
                    <span id="deployDesc" style="width: 500px;color: red;"></span>
                </i>
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
        </div>
    </div>

    <div class="layui-side layui-bg-pink" style="color: #ff97a1">
        <div class="layui-side-scroll"  id="navBarId">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item  layui-nav-itemed">
                    <a class="" href="javascript:;"><i class="layui-icon layui-icon-home" >服务器</i></a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" class="site-demo-active" data-url="server/server_list.html" data-id="1" data-title="虚拟机配置">
                            <i class="layui-icon layui-icon-auz" >虚拟机配置</i>
                        </a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item  layui-nav-itemed">
                    <a class="" href="javascript:;"><i class="layui-icon layui-icon-carousel" >普通部署</i></a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" class="site-demo-active" data-url="JavaScriptDeploy/deployIndex.html" data-id="2" data-title="普通部署">
                            <i class="layui-icon layui-icon-app" >普通部署</i>
                        </a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item  layui-nav-itemed">
                    <a class="" href="javascript:;"><i class="layui-icon layui-icon-engine" >docker部署管理</i></a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" class="site-demo-active" data-url="hosts/list.html" data-id="3" data-title="hosts配置">
                            <i class="layui-icon layui-icon-rss" >hosts配置</i>
                        </a></dd>
                        <dd><a href="javascript:;" class="site-demo-active" data-url="project/list.html" data-id="4" data-title="项目管理">
                            <i class="layui-icon layui-icon-cols" >项目管理</i>
                        </a></dd>
                        <dd><a href="javascript:;" class="site-demo-active" data-url="namespace/list.html" data-id="5" data-title="命名空间">
                            <i class="layui-icon layui-icon-rate-half" >命名空间</i>
                        </a></dd>
                        <dd><a href="javascript:;" class="site-demo-active" data-url="projectAutoConfig/list.html" data-id="6" data-title="git-push触发配置">
                            <i class="layui-icon layui-icon-key" >git-push触发配置</i>
                        </a></dd>
                        <dd><a href="javascript:;" class="site-demo-active" data-url="dockerRegistry/list.html" data-id="7" data-title="docker仓库">
                            <i class="layui-icon layui-icon-vercode" >docker仓库</i>
                        </a></dd>
                        <dd><a href="javascript:;" class="site-demo-active" data-url="docker/list.html" data-id="8" data-title="docker管理">
                            <i class="layui-icon layui-icon-util" >docker管理</i>
                        </a></dd>
                        <dd><a href="javascript:;" class="site-demo-active" data-url="dockerDeploy/list.html" data-id="9" data-title="docker后端部署">
                            <i class="layui-icon layui-icon-set-fill" >docker后端部署</i>
                        </a></dd>
                        <dd><a href="javascript:;" class="site-demo-active" data-url="dockerSave/list.html" data-id="10" data-title="docker镜像下载">
                            <i class="layui-icon layui-icon-heart-fill" >docker镜像下载</i>
                        </a></dd>
                        <dd><a href="javascript:;" class="site-demo-active" data-url="dockerLoad/list.html" data-id="11" data-title="docker总览">
                            <i class="layui-icon layui-icon-heart" >docker总览</i>
                        </a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;"><i class="layui-icon layui-icon-vercode" >中间件配置</i></a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" class="site-demo-active" data-url="admDb/list.html" data-id="30" data-title="数据库">
                            <i class="layui-icon layui-icon-read" >数据库</i>
                        </a></dd>
                        <dd><a href="javascript:;" class="site-demo-active" data-url="admNacos/list.html" data-id="31" data-title="nacos">
                            <i class="layui-icon layui-icon-android" >nacos</i>
                        </a></dd>
                        <dd><a href="javascript:;" class="site-demo-active" data-url="admNginx/list.html" data-id="32" data-title="nginx">
                            <i class="layui-icon layui-icon-wifi" >nginx</i>
                        </a></dd>
                        <dd><a href="javascript:;" class="site-demo-active" data-url="admMq/list.html" data-id="33" data-title="消息队列">
                            <i class="layui-icon layui-icon-ios" >消息队列</i>
                        </a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;"><i class="layui-icon layui-icon-spread-left" >定时任务</i></a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" class="site-demo-active" data-url="job/list.html" data-id="101" data-title="定时任务">
                            <i class="layui-icon layui-icon-shrink-right" >定时任务</i>
                        </a></dd>
                        <dd><a href="javascript:;" class="site-demo-active" data-url="jobLog/list.html" data-id="102" data-title="任务日志">
                            <i class="layui-icon layui-icon-snowflake" >任务日志</i>
                        </a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;"><i class="layui-icon layui-icon-note" >系统配置</i></a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" class="site-demo-active" data-url="admUser/list.html" data-id="200" data-title="用户管理">
                            <i class="layui-icon layui-icon-username" >用户管理</i>
                        </a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;"><i class="layui-icon layui-icon-windows" >其他工具</i></a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" class="site-demo-active" data-url="tool/screen.html" data-id="500" data-title="录屏">
                            <i class="layui-icon layui-icon-code-circle" >录屏</i>
                        </a></dd>
                    </dl>
                </li>
            </ul>


        </div>
    </div>


    <div class="layui-body">

        <div class="layui-tab" lay-filter="demo" lay-allowclose="true" >
            <ul class="layui-tab-title">
                <li class="layui-this" >首页</li>
            </ul>
            <div class="layui-tab-content" style="height: 400px">
                <div class="layui-tab-item layui-show">
                    <div>
                        <br><br><br>
                        <div style="text-align: center">
                            <span class="textWidth" style="font-size: 45px">自动化工具</span>
                        </div>
                        <br><br><br> <br><br><br>
                        <div style="text-align: center">
                            <span class="vintage5" style="font-size: 30px">使用手册为项目内README.md文件</span>
                        </div>
                        <br>
                        <br>
                        <div style="text-align: center">
                            <span class="vintage2" style="font-size: 20px">版本V1.0</span>
                        </div>
                        <br>

                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        自动化
    </div>
</div>

<script>

</script>
</body>
</html>